<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>出错了-词多多代理商平台</title>
    <include file="Index:header" />
    <script type="text/javascript">
        $(function(){
            $(".help-side dl dd:eq(0)").addClass('cur');
        })
</script>
    <script src="__PUBLIC__/js/main.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
    <div id="top">
        <div id="topbar">
            <div class="con">
                <div id="logo">
                    <img src="__PUBLIC__/images/logo.png" alt="词多多代理商平台" />
                </div>
                <div id="userbar">
                    <a href="javascript:void(0)">
                        <span
    class="icon-envelope icon-white"></span>
                        系统消息(4条未读)
                    </a>
                    <a
    href="javascript:void(0)" onclick="exit();">
                        <span
    class="icon-off icon-white"></span>
                        退出系统
                    </a>
                </div>
            </div>
            <div class="c"></div>
        </div>

        <div id="topcon" class="con">
            <div id="toptitle">代理商平台</div>
            <include file="Index:top" />
        </div>
    </div>
    <div id="main">
        <div id="main_left" class="container">
            <div class="help-side">
                <include file="Index:left" />
                <div class="side-slider"></div>
            </div>
        </div>
        <div id="main_right" class="container">
            <div class="title">系统首页</div>
            <div id="proxyinfo">
                <div id="pay_main" class="p30" style="padding-top:10px;">

                    <div id="syserror">
                        <div id="imgerror" style="width:161px;height:150px;margin:0 auto;">
                            <img src="__PUBLIC__/images/error.jpg" alt="" />
                        </div>
                        <div id="errortitle" style="text-align: center;">
                            <h1 style="font-size: 26px;font-weight: bold;color:#7b7b7b">哎呀！出错了，亲！</h1>
                        </div>
                        <div class="title"></div>
                        <div id="errcon" class="p20">
                            错误原因：{$errcon}
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <include file="Index:footer" />
    <script type="text/javascript">
    $(function() {
        Highcharts.setOptions({ 
            colors: ['#ff7902', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'] 
        }); 
    $('#charts').highcharts({
        chart: {
            type: 'spline',
            height: 300
        },
        title: {
            text: '近期计费合计走势图（客户消费）'
        },
        xAxis: {
            tickInterval: 4,
            categories: [
                {$chart['category']}
            ]
        },
        yAxis: {
            min:0,
            tickInterval: 500,
            title: {
                text: '合计费用（元）'
            },
            labels: {
                formatter: function() {
                    return this.value + '元'
                }
            },
        },
        tooltip: {
            formatter: function() {  
                       return '消费总计:' + Highcharts.numberFormat(this.y, 1)+'元<br/>消费日期:'+ this.x;  
                   }
        },
        plotOptions: {
            spline: {
                events: {
                    click: function(e) {
                        art.dialog.open("/Index/datecount/date/" + e.point.days, {
                            title: "计费明细",
                            width: 500,
                            lock: true
                        });
                    }
                }
            }
        },
        series: [{
            name: '计费合计',
            data: [{$chart['showdatas']}]
        }]
    });
});
    </script>
</body>
</html>